home *** CD-ROM | disk | FTP | other *** search
Wrap
<%@ Language=VBScript CODEPAGE=65001 %> <!--#include file="include/wmsConstants.inc"--> <!--#include file="include/wmsLocStrings.inc"--> <!--#include file="include/wmsCommon.inc"--> <!--#include file="include/wmsHeader.inc"--> <% '+------------------------------------------------------------------------- ' ' Microsoft Windows Media ' Copyright (C) Microsoft Corporation. All rights reserved. ' ' File: treeHdr.asp ' ' Contents: ' '-------------------------------------------------------------------------- on error resume next Dim g_bSecureConnection Dim g_dwBrowserType g_bSecureConnection = CBool( 0 = StrComp( "on", Request.ServerVariables( "HTTPS" ), vbTextCompare ) ) BrowserSniff WriteHTMLHeader( g_strDecodedServerName ) %> <link rel="stylesheet" type="text/css" href="<%= Session( "cssName" ) %>"> <script language="JavaScript"> <!-- /*@cc_on @*/ /////////////////////////////////////////////////////////////////////// function ShowSecurity() { <% jsTRY %> var win;<% strLocalHostWinName = Session( "LocalHostWinName" ) if( 0 >= Len( strLocalHostWinName ) ) then strLocalHostWinName = Request.QueryString( "server" ) Session( "LocalHostWinName" ) = strLocalHostWinName end if %> var szUrl = new String( "/default.asp?lhwn=<%= strLocalHostWinName %>" ); var szFeatures = ""; win = window.open( szUrl, "sList", szFeatures, true ); if( win ) { win.focus(); } <% jsCATCH %> } /////////////////////////////////////////////////////////////////////// <% if brMSIE <> g_dwBrowserType then %> function HandleRClick( event ) { event.cancelBubble = true; event.returnValue = false; return( false ); } document.onmousedown=HandleRClick; document.onmouseup=HandleRClick; document.oncontextmenu=HandleRClick; window.onmousedown=HandleRClick; window.onmouseup=HandleRClick; window.oncontextmenu=HandleRClick; <% end if %> --> </script> <% if brMSIE = g_dwBrowserType then %> <script language="JavaScript" event="oncontextmenu" for=document> event.cancelBubble=true; return false; </script> <% end if %> </head> <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" marginwidth="0" marginheight="0" height="85" oncontextmenu="JavaScript:return true;event.cancelBubble=true;return false;"> <table width="100%" height="85" border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" hspace="0" vspace="0" cols="1" rows="1"> <tr valign="top" bgcolor="#FFFFFF"> <td valign="top" align="left" height="44" width="100%" bgcolor="#FFFFFF"> <table height="44" width="100%" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" hspace="0" vspace="0" border="0" style="position:absolute;top:5;left:5" bgcolor="#FFFFFF"> <tr height="8"> <td> <img src="WMSSpacer.gif" height="8" width="1"> </td> </tr> <tr bgcolor="#FFFFFF" numcols="2"> <td width="8"> <img src="WMSSpacer.gif" height="1" width="8"> </td> <td width="220px"> <img onClick="JavaScript:ShowSecurity();" class="handcursor" align="top" src="img\treebanner.gif" width="220px" height="40px" border="0" alt="" style="position:absolute;top:0;left:0"> </td> </tr> </table> </td> </tr> <% if( FALSE = g_bSecureConnection ) then %><tr valign="bottom" height="24"> <td height="24" valign="bottom" align="left"> <table cellspacing="0" cellpadding="0" bgcolor="#FFFFDD" bordercolor="#FF0000" border="1" style="border-width=0" height="24" width="100%" hspace="0" vspace="0"> <tr valign="middle"> <td> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap align="absmiddle"> <a href="JavaScript:ShowSecurity();"> <img border="0" valign="middle" height="24" width="24" alt="<%= Server.HTMLEncode( L_NONSECUREWARNING_TEXT ) %>" src="img/not_secure_24.gif"> </a> </td> <td> <span class="defaultcursor"> </span> </td> <td nowrap valign="middle"> <span title="<%= Server.HTMLEncode( L_NONSECUREWARNING_TEXT ) %>" onClick="JavaScript:ShowSecurity();" class="warntext" style="cursor:hand" id="nonsecure" valign="middle" href="http://<%= Request.ServerVariables( "HTTP_HOST" ) %>/default.asp" target="sList" border="0"> <% if ( brMSIE <> Session( "BrowserType" ) ) then %><a class="warntext" style="cursor:hand" href="JavaScript:ShowSecurity();"><font color="#ff0000"><% end if %><%= Server.HTMLEncode( L_NONSECURE_TEXT ) %><% if( brMSIE <> Session( "BrowserType" ) ) then %></font></a><% end if %> </span> </td> </tr> </table> </td> </tr> </table> </td> </tr><% else %><tr valign="bottom" height="24"> <td height="24" valign="bottom" align="left"> <table cellspacing="0" cellpadding="0" bgcolor="#EFEFEF" bordercolor="#DDDDDD" border="1" style="border-width=0" height="24" width="100%" hspace="0" vspace="0" ID="Table1"> <tr valign="middle"> <td> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap align="absmiddle"> <a href="JavaScript:ShowSecurity();"> <img border="0" valign="middle" height="24" width="24" alt="<%= Server.HTMLEncode( L_SECURECONNECTION_TEXT ) %>" src="img/secure_24.gif"> </a> </td> <td> <span class="defaultcursor"> </span> </td> <td nowrap valign="middle"> <span title="<%= Server.HTMLEncode( L_SECURECONNECTION_TEXT ) %>" onClick="JavaScript:ShowSecurity();" style="color:green;cursor:hand" id="Span1" valign="middle" href="http://<%= Request.ServerVariables( "HTTP_HOST" ) %>/default.asp" target="sList" border="0"> <% if ( brMSIE <> Session( "BrowserType" ) ) then %><a class="warntext" style="cursor:hand;color:black" href="JavaScript:ShowSecurity();"><font color="#000000"><% end if %><%= Server.HTMLEncode( L_SECURECONNECTION_TEXT ) %><% if( brMSIE <> Session( "BrowserType" ) ) then %></font></a><% end if %> </span> </td> </tr> </table> </td> </tr> </table> </td> </tr><% end if %> </table> </body> </html>